package main

import (
	"user-web/src/app"
	"user-web/src/service"
)

func main() {
	//logger, err := log.LoggerFromConfigAsFile("./config/seelog.xml")
	//if err != nil {
	//	panic(err.Error())
	//}
	//err = log.ReplaceLogger(logger)
	//if err != nil {
	//	panic(err.Error())
	//}

	//pprof分析用
	//runtime.GOMAXPROCS(1)
	//runtime.SetMutexProfileFraction(1)
	//runtime.SetBlockProfileRate(1)
	service.InitClient()
	app.InitGin()
}
